import $http from "@/utils/request.js";

export function cateList(data) {

	return $http({
		url: `/api/Shop/cateList`,
		method: "post",
		data: data,
	});


}

export function goodsList(data) {

	return $http({
		url: `/api/Shop/goodsList`,
		method: "post",
		data: data,
	});


}

export function goodsDetail(data) {

	return $http({
		url: `/api/Shop/goodsDetail`,
		method: "post",
		data: data,
	});


}

export function goodsCollect(data) {

	return $http({
		url: `/api/Shop/collect`,
		method: "post",
		data: data,
	});


}

export function addCart(data) {

	return $http({
		url: `/api/Shop/addCart`,
		method: "post",
		data: data,
	});


}

export function delCart(data) {

	return $http({
		url: `/api/user/cartDel`,
		method: "post",
		data: data,
	});


}

export function isBuyCar(data) {

	return $http({
		url: `/api/Pet/cardTips`,
		method: "post",
		data: data,
	});


}

export function logisticsInfo(data) {

	return $http({
		url: `/api/order/findwuliu`,
		method: "post",
		data: data,
	});


}